// 2025/8/11
// 数位染色

#include <iostream>
#include <vector>
using namespace std;

int main() {
    string num; cin >> num;
    int sum = 0, n = num.size();
    for(auto& ch : num)
    {
        ch -= '0';
        sum += ch;
    }
    if(sum % 2 != 0)
    {
        cout << "No" << endl;
        return 0;
    }

    sum /= 2;
    vector<vector<bool>> bag(n + 1, vector<bool>(sum + 1));
    bag[0][0] = true;
    for(int i = 1; i <= n; i++)
    {
        bag[i][0] = true;
        for(int j = 1; j <= sum; j++)
        {
            bag[i][j] = bag[i - 1][j];
            if(j >= num[i - 1])
                bag[i][j] = bag[i][j] | bag[i - 1][j - num[i - 1]];
        }
    }
    if(bag[n][sum])
        cout << "Yes" << endl;
    else
        cout << "No" << endl;
}
// 64 位输出请用 printf("%lld")